package com.bgs.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.joda.time.DateTime;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @program: xkgc
 * @description:
 * @author: Mr.Zhao
 * @create: 2022-05-16 16:50
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class AddStore implements Serializable {

    @TableField(exist = false)
    private Integer storeId;


    @TableField(exist = false)
    private Integer siId;


    @TableField(exist = false)
    private String storeName;

    @TableField(exist = false)
    private String address;

    @TableField(exist = false)
    private Integer range;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//DateTimeFormat 是入参格式化；
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")//JsonFormat是出参格式化。
    @TableField(exist = false)
    private Date startTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//DateTimeFormat 是入参格式化；
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")//JsonFormat是出参格式化。
    @TableField(exist = false)
    private Date endTime;

    @TableField(exist = false)
    private String lnglat;

    @TableField(exist = false)
    private String longitude;


    @TableField(exist = false)
    private String dimensionality;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime creationTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @TableField(exist = false)
    private String picture1;

    @TableField(exist = false)
    private String picture2;



}
